package com.wenjie.original.entity.vo.OrderBox;

import com.wenjie.original.entity.OrderBox;
import com.wenjie.original.entity.common.vo.IAddVo;
import com.wenjie.original.entity.common.vo.IUpVo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

public class OrderBoxUpOrAddVo {

    @Data
    public static class UpVo extends baseVo implements IUpVo<OrderBox> {

                @NotNull
                private Long orderBoxsId;
    }

    @Data
    public static class AddVo extends baseVo implements IAddVo<OrderBox> {
                @Null
                private Long orderBoxsId;
    }

    @Data
    private static class baseVo extends OrderBox {

        public void setCreateTime(Long createTime) {}

        public void setUpdateTime(Long updateTime) {}

        public void setVersion(Long version) {}

        public void setDelFlag(Long delFlag) {}
    }


}
